<&include file="include/header.tpl" title=$title username=$user_firstname web_site=$web_site page_css="goal-detail.css"&>

<!--page_text-->
	<div id="main">

<!--side-->        
        <div id="left-body">
        	
        	<div class="box4" style="margin-top:13px">
            	<p class="title">&nbsp;</p>
            	<div class="optionbox">                    
                	<div class="option"><a href="#nogo" class="show_option_1 now" tab="all_user_list">All Users</a><a href="#nogo" class="show_option_2" tab="all_trainer_list">Trainers</a></div>
                </div>    
                <ul class="ranking" id="all_user_list">
                <&foreach item=u from=$user_list name=user_list&>
                	<li <&if $smarty.foreach.user_list.iteration % 2 eq 0&>class="gay"<&/if&>><div class="l"><a href="<&$web_site&>/user/detail/uid/<&$u.id&>"><img src="<&$web_site&>/<&if !$u.thumb_photo&>image/face.png<&else&><&$u.thumb_photo&><&/if&>" /></a><span><&$objConfigModel->genUsername($u.firstname, $u.lastname)&></span></div><div class="c"></div><div class="r"><label><&$u.rank_points&></label><span>Points</span></div></li>
                <&/foreach&>
                </ul>
                <ul class="ranking" style="display:none" id="all_trainer_list">
                	<&foreach item=u from=$trainer_list name=trainer_list&>
                	<li <&if $smarty.foreach.trainer_list.iteration % 2 eq 0&>class="gay"<&/if&>><div class="l"><a href="<&$web_site&>/user/detail/uid/<&$u.id&>"><img src="<&$web_site&>/<&if !$u.thumb_photo&>image/face.png<&else&><&$u.thumb_photo&><&/if&>" /></a><span><&$objConfigModel->genUsername($u.firstname, $u.lastname)&></span></div><div class="c"></div><div class="r"><label><&$u.rank_points&></label><span>Points</span></div></li>
                <&/foreach&>
                </ul>
            </div>
            
            
        </div>
<!--side_over-->        
        <div id="right-side">
               <&if $user.rank&>
               <div class="box2" style="margin-top:0px">

               		<div class="num-1">My Rank<span><&$user.rank&></span></div>
                    <div class="num-2">My Score<span><&$user.rank_points&></span></div>
            	</div>
                <&/if&>

                <div class="box4">
                	<strong>Learn how to score?</strong>
                    <b>Post,  share goal</b>
                    <p>Posting a goal (+15); Sharing a goal (+10); </p>
                    <b>Likes</b>
                    <p>When others like your goal +5</p>
                    <b>Cheers</b>
                    <p>When you cheer others up +10</p>
                    <b>Trainer bids</b>
                    <p>When trainer bids, trainer +5</p>
                    <b>Hire trainer</b>
                    <p>When you hire a trainer: you +30, trainer +30</p>
                    <b>Review</b>
                    <p>When you review a trainer: you +20;<br />if positively reviewed, trainer +20</p>
                </div>
                
            </div>
            
 			
			
<!---->                        
        </div>
    </div>
<!--page_text_over-->


<&include file="include/footer.tpl" &>